'use strict';
const requireEx=require('yi-require');
const $ = requireEx('yi-schema');

module.exports = {
  body:$.object({
    fromID:$.mongoid().required().description("消息发送者ID"),
    toID:$.mongoid().required().description("消息接收者ID")
  })
}